import React, {Component} from 'react';
import {View, Text} from 'react-native';
import {Appbar} from 'react-native-paper';
export default class header extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    return (
      <Appbar.Header>
        {/* <Appbar.BackAction onPress={this._goBack} /> */}
        <Appbar.Content title={this.props.title} />
        {/* <Appbar.Action icon="magnify" onPress={this._handleSearch} /> */}
        {/* <Appbar.Action icon="dots-vertical" onPress={this._handleMore} /> */}
      </Appbar.Header>
    );
  }
}
